package org.edu.modules.salary.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("ve_hr_jingtie")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "津贴表", description = "津贴表")
public class VeHrJingtie implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID，自动增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID，自动增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;
    /**
     * 岗位
     */
    @Excel(name = "岗位", width = 15, dicCode = "id", dicText = "title", dictTable = "ve_hr_gangwei")
    @ApiModelProperty(value = "岗位")
    @Dict(dicCode = "id", dicText = "title", dictTable = "ve_hr_gangwei")
    private Integer gw;
    /**
     * 基础工资
     */
    @Excel(name = "基础工资", width = 15)
    @ApiModelProperty(value = "基础工资")
    private BigDecimal jcgz;
    /**
     * 职务工资
     */
    @Excel(name = "职务工资", width = 15)
    @ApiModelProperty(value = "职务工资")
    private BigDecimal zwgz;
    /**
     * 工龄津贴
     */
    @Excel(name = "工龄津贴", width = 15)
    @ApiModelProperty(value = "工龄津贴")
    private BigDecimal gljt;
    /**
     * 奖励工资
     */
    @Excel(name = "奖励工资", width = 15)
    @ApiModelProperty(value = "奖励工资")
    private BigDecimal jlgz;
    /**
     * 教龄津贴(教师)
     */
    @Excel(name = "教龄津贴(教师)", width = 15)
    @ApiModelProperty(value = "教龄津贴(教师)")
    private BigDecimal jljt;
    /**
     * 其他
     */
    @Excel(name = "其他", width = 15)
    @ApiModelProperty(value = "其他")
    private BigDecimal other;
    /**
     * 操作人id
     */
//    @Excel(name = "操作人id", width = 15)
    @ApiModelProperty(value = "操作人id")
    private String createuserid;
    /**
     * 操作人姓名
     */
//    @Excel(name = "操作人姓名", width = 15)
    @ApiModelProperty(value = "操作人姓名")
    private String createusername;
    /**
     * 系统id
     */
//    @Excel(name = "系统id", width = 15)
    @ApiModelProperty(value = "系统id")
    private Integer terminalid;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
